/*
 * @Description: 文章数据模型
 * @Author: buwei.huang
 * @Date: 2019-06-25 14:13:15
 * @Last Modified by: buwei.huang
 * @Last Modified time: 2019-06-26 14:00:36
 */
export default class ArticleListModel {
  /**
   * @param {String} newsId 新闻(news)id
   * @param {String} title 新闻标题
   * @param {String} subTitle 新闻副标题
   * @param {String} description 新闻描述
   * @param {String} bigPic 新闻大图
   * @param {String} middlePic 新闻中图
   * @param {String} smallPic 新闻小图
   * @param {String} goTo 跳转地址
   * @param {String} startTime 开始时间
   * @param {String} endTime 结束时间
   * @param {Number} pageNum 浏览数
   * @param {Number} praises 点赞数
   * @param {Number} coments 评价数
   * @param {Number} forwards 转发数
   * @param {Number} favours 收藏数
   * @param {String} createTime 创建时间
   * @param {String} updateTime 更新时间
   * @param {Number} stick 置顶操作
   */
  constructor(
    newsId,
    title,
    subTitle,
    description,
    bigPic,
    middlePic,
    smallPic,
    goTo,
    startTime,
    endTime,
    pageNum,
    praises,
    coments,
    forwards,
    favours,
    createTime,
    updateTime,
    stick
  ) {
    this.newsId = newsId
    this.title = title
    this.subTitle = subTitle
    this.description = description
    this.bigPic = bigPic
    this.middlePic = middlePic
    this.smallPic = smallPic
    this.goTo = goTo
    this.startTime = startTime
    this.endTime = endTime
    this.pageNum = pageNum
    this.praises = praises
    this.coments = coments
    this.forwards = forwards
    this.favours = favours
    this.createTime = createTime
    this.updateTime = updateTime
    this.stick = stick
  }
}
